<?php
require_once(getabspath("classes/cipherer.php"));
$tdataobjetivogeral = array();
	$tdataobjetivogeral[".NumberOfChars"] = 80; 
	$tdataobjetivogeral[".ShortName"] = "objetivogeral";
	$tdataobjetivogeral[".OwnerID"] = "";
	$tdataobjetivogeral[".OriginalTable"] = "objetivogeral";

//	field labels
$fieldLabelsobjetivogeral = array();
if(mlang_getcurrentlang()=="Portuguese(Brazil)")
{
	$fieldLabelsobjetivogeral["Portuguese(Brazil)"] = array();
	$fieldToolTipsobjetivogeral["Portuguese(Brazil)"] = array();
	$fieldLabelsobjetivogeral["Portuguese(Brazil)"]["pk_objetivogeral"] = "Pk Objetivogeral";
	$fieldToolTipsobjetivogeral["Portuguese(Brazil)"]["pk_objetivogeral"] = "";
	$fieldLabelsobjetivogeral["Portuguese(Brazil)"]["fk_pct"] = "PCT";
	$fieldToolTipsobjetivogeral["Portuguese(Brazil)"]["fk_pct"] = "";
	$fieldLabelsobjetivogeral["Portuguese(Brazil)"]["tx_objetivo"] = "OBJETIVO";
	$fieldToolTipsobjetivogeral["Portuguese(Brazil)"]["tx_objetivo"] = "";
	$fieldLabelsobjetivogeral["Portuguese(Brazil)"]["fk_usuario"] = "Fk Usuario";
	$fieldToolTipsobjetivogeral["Portuguese(Brazil)"]["fk_usuario"] = "";
	$fieldLabelsobjetivogeral["Portuguese(Brazil)"]["datahora"] = "Datahora";
	$fieldToolTipsobjetivogeral["Portuguese(Brazil)"]["datahora"] = "";
	if (count($fieldToolTipsobjetivogeral["Portuguese(Brazil)"]))
		$tdataobjetivogeral[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsobjetivogeral["English"] = array();
	$fieldToolTipsobjetivogeral["English"] = array();
	if (count($fieldToolTipsobjetivogeral["English"]))
		$tdataobjetivogeral[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="German")
{
	$fieldLabelsobjetivogeral["German"] = array();
	$fieldToolTipsobjetivogeral["German"] = array();
	if (count($fieldToolTipsobjetivogeral["German"]))
		$tdataobjetivogeral[".isUseToolTips"] = true;
}
	
	
	$tdataobjetivogeral[".NCSearch"] = true;



$tdataobjetivogeral[".shortTableName"] = "objetivogeral";
$tdataobjetivogeral[".nSecOptions"] = 0;
$tdataobjetivogeral[".recsPerRowList"] = 1;
$tdataobjetivogeral[".mainTableOwnerID"] = "";
$tdataobjetivogeral[".moveNext"] = 1;
$tdataobjetivogeral[".nType"] = 0;

$tdataobjetivogeral[".strOriginalTableName"] = "objetivogeral";




$tdataobjetivogeral[".showAddInPopup"] = false;

$tdataobjetivogeral[".showEditInPopup"] = false;

$tdataobjetivogeral[".showViewInPopup"] = false;

$tdataobjetivogeral[".fieldsForRegister"] = array();

$tdataobjetivogeral[".listAjax"] = false;

	$tdataobjetivogeral[".audit"] = false;

	$tdataobjetivogeral[".locking"] = false;

$tdataobjetivogeral[".listIcons"] = true;
$tdataobjetivogeral[".inlineEdit"] = true;
$tdataobjetivogeral[".inlineAdd"] = true;



$tdataobjetivogeral[".delete"] = true;

$tdataobjetivogeral[".showSimpleSearchOptions"] = false;

$tdataobjetivogeral[".showSearchPanel"] = true;

if (isMobile())
	$tdataobjetivogeral[".isUseAjaxSuggest"] = false;
else 
	$tdataobjetivogeral[".isUseAjaxSuggest"] = true;

$tdataobjetivogeral[".rowHighlite"] = true;

// button handlers file names

$tdataobjetivogeral[".addPageEvents"] = false;

// use timepicker for search panel
$tdataobjetivogeral[".isUseTimeForSearch"] = false;



$tdataobjetivogeral[".useDetailsPreview"] = true;

$tdataobjetivogeral[".allSearchFields"] = array();

$tdataobjetivogeral[".allSearchFields"][] = "tx_objetivo";

$tdataobjetivogeral[".googleLikeFields"][] = "pk_objetivogeral";
$tdataobjetivogeral[".googleLikeFields"][] = "fk_pct";
$tdataobjetivogeral[".googleLikeFields"][] = "tx_objetivo";
$tdataobjetivogeral[".googleLikeFields"][] = "fk_usuario";
$tdataobjetivogeral[".googleLikeFields"][] = "datahora";


$tdataobjetivogeral[".advSearchFields"][] = "tx_objetivo";

$tdataobjetivogeral[".isTableType"] = "list";

	



// Access doesn't support subqueries from the same table as main
	


$tdataobjetivogeral[".pageSize"] = 20;

$tstrOrderBy = "";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdataobjetivogeral[".strOrderBy"] = $tstrOrderBy;

$tdataobjetivogeral[".orderindexes"] = array();

$tdataobjetivogeral[".sqlHead"] = "SELECT pk_objetivogeral,   fk_pct,   tx_objetivo,   fk_usuario,   datahora";
$tdataobjetivogeral[".sqlFrom"] = "FROM objetivogeral";
$tdataobjetivogeral[".sqlWhereExpr"] = "";
$tdataobjetivogeral[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataobjetivogeral[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataobjetivogeral[".arrGroupsPerPage"] = $arrGPP;

$tableKeysobjetivogeral = array();
$tableKeysobjetivogeral[] = "pk_objetivogeral";
$tdataobjetivogeral[".Keys"] = $tableKeysobjetivogeral;

$tdataobjetivogeral[".listFields"] = array();
$tdataobjetivogeral[".listFields"][] = "fk_pct";
$tdataobjetivogeral[".listFields"][] = "tx_objetivo";

$tdataobjetivogeral[".viewFields"] = array();

$tdataobjetivogeral[".addFields"] = array();

$tdataobjetivogeral[".inlineAddFields"] = array();
$tdataobjetivogeral[".inlineAddFields"][] = "fk_pct";
$tdataobjetivogeral[".inlineAddFields"][] = "tx_objetivo";

$tdataobjetivogeral[".editFields"] = array();

$tdataobjetivogeral[".inlineEditFields"] = array();
$tdataobjetivogeral[".inlineEditFields"][] = "fk_pct";
$tdataobjetivogeral[".inlineEditFields"][] = "tx_objetivo";

$tdataobjetivogeral[".exportFields"] = array();

$tdataobjetivogeral[".printFields"] = array();

//	pk_objetivogeral
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "pk_objetivogeral";
	$fdata["GoodName"] = "pk_objetivogeral";
	$fdata["ownerTable"] = "objetivogeral";
	$fdata["Label"] = GetFieldLabel("objetivogeral","pk_objetivogeral"); 
	$fdata["FieldType"] = 3;
	
		$fdata["AutoInc"] = true;
	
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "pk_objetivogeral"; 
		$fdata["FullName"] = "pk_objetivogeral";
	
		
		
				
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataobjetivogeral["pk_objetivogeral"] = $fdata;
//	fk_pct
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "fk_pct";
	$fdata["GoodName"] = "fk_pct";
	$fdata["ownerTable"] = "objetivogeral";
	$fdata["Label"] = GetFieldLabel("objetivogeral","fk_pct"); 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		$fdata["bInlineAdd"] = true; 
	
		
		$fdata["bInlineEdit"] = true; 
	
		
		
		
		
		$fdata["strField"] = "fk_pct"; 
		$fdata["FullName"] = "fk_pct";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 2;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "pk_pct";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "tx_obs";
	
		
	$edata["LookupTable"] = "pct";
	$edata["LookupOrderBy"] = "tx_obs";
	
		
		
		
		
		
				
	
	
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataobjetivogeral["fk_pct"] = $fdata;
//	tx_objetivo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "tx_objetivo";
	$fdata["GoodName"] = "tx_objetivo";
	$fdata["ownerTable"] = "objetivogeral";
	$fdata["Label"] = GetFieldLabel("objetivogeral","tx_objetivo"); 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		$fdata["bInlineAdd"] = true; 
	
		
		$fdata["bInlineEdit"] = true; 
	
		
		$fdata["bAdvancedSearch"] = true; 
	
		
		
		$fdata["strField"] = "tx_objetivo"; 
		$fdata["FullName"] = "tx_objetivo";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";
	
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataobjetivogeral["tx_objetivo"] = $fdata;
//	fk_usuario
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "fk_usuario";
	$fdata["GoodName"] = "fk_usuario";
	$fdata["ownerTable"] = "objetivogeral";
	$fdata["Label"] = GetFieldLabel("objetivogeral","fk_usuario"); 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "fk_usuario"; 
		$fdata["FullName"] = "fk_usuario";
	
		
		
				
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 2;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "pk_usuario";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "pk_usuario";
	
		
	$edata["LookupTable"] = "usuarios";
	$edata["LookupOrderBy"] = "";
	
		
		
		
		
		
				
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataobjetivogeral["fk_usuario"] = $fdata;
//	datahora
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "datahora";
	$fdata["GoodName"] = "datahora";
	$fdata["ownerTable"] = "objetivogeral";
	$fdata["Label"] = GetFieldLabel("objetivogeral","datahora"); 
	$fdata["FieldType"] = 135;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "datahora"; 
		$fdata["FullName"] = "datahora";
	
		
		
				
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Short Date");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Date");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		$edata["DateEditType"] = 13; 
	$edata["InitialYearFactor"] = 100; 
	$edata["LastYearFactor"] = 10; 
	
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdataobjetivogeral["datahora"] = $fdata;

	
$tables_data["objetivogeral"]=&$tdataobjetivogeral;
$field_labels["objetivogeral"] = &$fieldLabelsobjetivogeral;
$fieldToolTips["objetivogeral"] = &$fieldToolTipsobjetivogeral;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["objetivogeral"] = array();
$dIndex = 1-1;
			$strOriginalDetailsTable="objetivo";
	$detailsParam["dDataSourceTable"]="objetivo";
	$detailsParam["dOriginalTable"]=$strOriginalDetailsTable;
	$detailsParam["dShortTable"]="objetivo";
	$detailsParam["masterKeys"]=array();
	$detailsParam["detailKeys"]=array();
	$detailsParam["dispChildCount"]= "1";
	$detailsParam["hideChild"]="0";
	$detailsParam["previewOnList"]= 1;
	$detailsParam["previewOnAdd"]= 1;
	$detailsParam["previewOnEdit"]= 1;
	$detailsParam["previewOnView"]= 0;
		
	$detailsTablesData["objetivogeral"][$dIndex] = $detailsParam;
	
		
		$detailsTablesData["objetivogeral"][$dIndex]["masterKeys"][]="pk_objetivogeral";
		$detailsTablesData["objetivogeral"][$dIndex]["detailKeys"][]="fk_objetivogeral";

	
// tables which are master tables for current table (detail)
$masterTablesData["objetivogeral"] = array();

$mIndex = 1-1;
			$strOriginalDetailsTable="usuarios";
	$masterParams["mDataSourceTable"]="usuarios";
	$masterParams["mOriginalTable"]= $strOriginalDetailsTable;
	$masterParams["mShortTable"]= "usuarios";
	$masterParams["masterKeys"]= array();
	$masterParams["detailKeys"]= array();
	$masterParams["dispChildCount"]= "0";
	$masterParams["hideChild"]= "0";
	$masterParams["dispInfo"]= "0";
	$masterParams["previewOnList"]= 2;
	$masterParams["previewOnAdd"]= 0;
	$masterParams["previewOnEdit"]= 0;
	$masterParams["previewOnView"]= 0;
	$masterTablesData["objetivogeral"][$mIndex] = $masterParams;	
		$masterTablesData["objetivogeral"][$mIndex]["masterKeys"][]="pk_usuario";
		$masterTablesData["objetivogeral"][$mIndex]["detailKeys"][]="fk_usuario";

$mIndex = 2-1;
			$strOriginalDetailsTable="pct";
	$masterParams["mDataSourceTable"]="pct";
	$masterParams["mOriginalTable"]= $strOriginalDetailsTable;
	$masterParams["mShortTable"]= "pct";
	$masterParams["masterKeys"]= array();
	$masterParams["detailKeys"]= array();
	$masterParams["dispChildCount"]= "1";
	$masterParams["hideChild"]= "0";
	$masterParams["dispInfo"]= "1";
	$masterParams["previewOnList"]= 0;
	$masterParams["previewOnAdd"]= 0;
	$masterParams["previewOnEdit"]= 0;
	$masterParams["previewOnView"]= 0;
	$masterTablesData["objetivogeral"][$mIndex] = $masterParams;	
		$masterTablesData["objetivogeral"][$mIndex]["masterKeys"][]="pk_pct";
		$masterTablesData["objetivogeral"][$mIndex]["detailKeys"][]="fk_pct";

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










function createSqlQuery_objetivogeral()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "pk_objetivogeral,   fk_pct,   tx_objetivo,   fk_usuario,   datahora";
$proto0["m_strFrom"] = "FROM objetivogeral";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
$proto0["m_strTail"] = "";
$proto0["cipherer"] = null;
$proto1=array();
$proto1["m_sql"] = "";
$proto1["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto1["m_column"]=$obj;
$proto1["m_contained"] = array();
$proto1["m_strCase"] = "";
$proto1["m_havingmode"] = "0";
$proto1["m_inBrackets"] = "0";
$proto1["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto1);

$proto0["m_where"] = $obj;
$proto3=array();
$proto3["m_sql"] = "";
$proto3["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto3["m_column"]=$obj;
$proto3["m_contained"] = array();
$proto3["m_strCase"] = "";
$proto3["m_havingmode"] = "0";
$proto3["m_inBrackets"] = "0";
$proto3["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto3);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto5=array();
			$obj = new SQLField(array(
	"m_strName" => "pk_objetivogeral",
	"m_strTable" => "objetivogeral"
));

$proto5["m_expr"]=$obj;
$proto5["m_alias"] = "";
$obj = new SQLFieldListItem($proto5);

$proto0["m_fieldlist"][]=$obj;
						$proto7=array();
			$obj = new SQLField(array(
	"m_strName" => "fk_pct",
	"m_strTable" => "objetivogeral"
));

$proto7["m_expr"]=$obj;
$proto7["m_alias"] = "";
$obj = new SQLFieldListItem($proto7);

$proto0["m_fieldlist"][]=$obj;
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "tx_objetivo",
	"m_strTable" => "objetivogeral"
));

$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto0["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "fk_usuario",
	"m_strTable" => "objetivogeral"
));

$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto0["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "datahora",
	"m_strTable" => "objetivogeral"
));

$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto15=array();
$proto15["m_link"] = "SQLL_MAIN";
			$proto16=array();
$proto16["m_strName"] = "objetivogeral";
$proto16["m_columns"] = array();
$proto16["m_columns"][] = "pk_objetivogeral";
$proto16["m_columns"][] = "fk_pct";
$proto16["m_columns"][] = "tx_objetivo";
$proto16["m_columns"][] = "fk_usuario";
$proto16["m_columns"][] = "datahora";
$obj = new SQLTable($proto16);

$proto15["m_table"] = $obj;
$proto15["m_alias"] = "";
$proto17=array();
$proto17["m_sql"] = "";
$proto17["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto17["m_column"]=$obj;
$proto17["m_contained"] = array();
$proto17["m_strCase"] = "";
$proto17["m_havingmode"] = "0";
$proto17["m_inBrackets"] = "0";
$proto17["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto17);

$proto15["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto15);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_objetivogeral = createSqlQuery_objetivogeral();
					$tdataobjetivogeral[".sqlquery"] = $queryData_objetivogeral;
	
if(isset($tdataobjetivogeral["field2"])){
	$tdataobjetivogeral["field2"]["LookupTable"] = "carscars_view";
	$tdataobjetivogeral["field2"]["LookupOrderBy"] = "name";
	$tdataobjetivogeral["field2"]["LookupType"] = 4;
	$tdataobjetivogeral["field2"]["LinkField"] = "email";
	$tdataobjetivogeral["field2"]["DisplayField"] = "name";
	$tdataobjetivogeral[".hasCustomViewField"] = true;
}

include_once(getabspath("include/objetivogeral_events.php"));
$tableEvents["objetivogeral"] = new eventclass_objetivogeral;
$tdataobjetivogeral[".hasEvents"] = true;

$cipherer = new RunnerCipherer("objetivogeral");

?>